{include file='public/header' /}
    <table class="layui-table" id="plug">
        <colgroup>
            <col width="150">
            <col width="150">
            <col>
            <col>
            <col width="50">
            <col width="160">
        </colgroup>
        <thead>
            <tr>
                <th>插件名称</th>
                <th>类名</th>
                <th>扩展库</th>
                <th>PHP扩展</th>
                <th>下载</th>
                <th>添加时间</th>
            </tr> 
        </thead>
        <tbody>
            <tr>
                {volist name="list" id="vo"}
                <td>{$vo.plug_name}</td>
                <td><a href="{:url('/index/'.$vo['class_name'].'/index')}">{$vo.class_name}</a></td>
                <td>
                    {php}$extends = json_decode($vo['extends'], true);{/php}
                    {volist name="extends" id="ve"}
                    <a href="{$ve.url}">{$ve.name}</a>
                    {/volist}
                </td>
                <td>
                    {php}$php_extends = json_decode($vo['php_extends'], true);{/php}
                    {volist name="php_extends" id="ve"}
                    {$ve}|
                    {/volist}
                </td>
                <td><a href="{$vo.down_url}" class="layui-btn layui-btn-small">下载</a></td>
                <td>{$vo['create_time']|date="Y-m-d H:i:s", ###}</td>
                {/volist}
            </tr>
        </tbody>
    </table>
    <div class="page">
        <div class="page_action">
            <a href="{:url('addPlug')}" class="layui-btn layui-btn-small layui-btn-normal">添加</a>
        </div>
        {$page}
    </div>

{include file='public/footer' /}